package com.xinzhidi.web.custommodel.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinzhidi.common.annotation.Excel;
import com.xinzhidi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;


/**
 * 自定义模型对象 custom_model
 *
 * @author cx
 * @date 2023-06-15
 */
@ApiModel(value = "自定义模型对象")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("custom_model")
public class CustomModel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "父id")
    private Long parentId;

    @ApiModelProperty(value = "模型名称")
    @Excel(name = "模型名称")
    private String modelName;

    @ApiModelProperty(value = "模型级别(1：一级模型  2：二级模型)")
    @Excel(name = "模型級別", readConverterExp = "1=：一级模型,2=：二级模型")
    private String modelLevel;

    @ApiModelProperty(value = "户型")
    @Excel(name = "户型")
    private String houseType;

    @ApiModelProperty(value = "散热器类型")
    @Excel(name = "散热器类型")
    private String radiatorType;

    @ApiModelProperty(value = "住户面积范围开始")
    @Excel(name = "住户面积范围开始")
    private BigDecimal residentAreaStart;

    @ApiModelProperty(value = "住户面积范围结束")
    @Excel(name = "住户面积范围结束")
    private BigDecimal residentAreaEnd;

    @ApiModelProperty(value = "状态（0：启用 1：禁用）")
    @Excel(name = "状态", readConverterExp = "0=：启用,1=：禁用")
    private String status;

    @ApiModelProperty(value = "算法名称")
    @Excel(name = "算法名称")
    private String arithmeticName;

    @ApiModelProperty(value = "使用数量")
    @Excel(name = "使用数量")
    private Long useQuantity;

    @ApiModelProperty(value = "模型类型")
    @Excel(name = "模型类型")
    private String modelType;

}
